From a26d93bd22a163d9656122d089f5aece6ef63eab Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 30 Sep 2005 17:34:01 +0100 Subject: [PATCH] xencons must notify via evtchn. It can't use the irq as the notification handle because console is used early, before the irq is set up. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c b/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c index c74b045db2..346c2fd656 100644 --- a/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c +++ b/linux-2.6-xen-sparse/drivers/xen/console/xencons_ring.c @@ -65,7 +65,8 @@ static int __xencons_ring_send( int xencons_ring_send(const char *data, unsigned len) { int sent = __xencons_ring_send(outring(), data, len); - notify_remote_via_irq(xencons_irq); + /* Use evtchn: this is called early, before irq is set up. */ + notify_remote_via_evtchn(xen_start_info->console_evtchn); return sent; } -- 2.30.2